<?php
/*
 * File TheorieAanvraagException.php for project Rijlesplanner.nl
 * Created on 11 dec 2007 at 23:13:44 by Ivar Pruijn
 */

class TheorieAanvraagException extends RijlesplannerException {
    // Redefine the exception so message isn't optional
    public function __construct($message, $code = 0) {
        // some code
   
        // make sure everything is assigned properly
        parent::__construct($message, $code);
    }

    // custom string representation of object
    public function __toString() {
        return __CLASS__ . ": [{$this->code}]: {$this->message}\n";
    }

}
?>
